home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / dos / window / winclip / exam7.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-03-23  |  547 b   |  21 lines

  1.   #include "window.h"
  2.  
  3.   #define NORM   CREATE_VIDEO_ATTRIBUTE(black,white)
  4.  
  5.   WPOINTER w;
  6.  
  7.   main()
  8.   {
  9.     WindowInitializeSystem();
  10.     WindowSaveInitial(0);
  11.     w = WindowInitialize(BORDER,1,1,10,10,NORM,NORM,SINGLEBOX);
  12.     WindowOpen(w);
  13.     WindowDisplay(w,1,NOEFFECT);
  14.     GET_KEY();
  15.     WindowResizeWidth(w,15,ANCHORLEFT);  /* Resize the window with a new height
  16.                                             of 15 */
  17.     GET_KEY();
  18.     WindowResizeHeight(w,5,ANCHORTOP);  /* Resize window with new height of 5 */
  19.  
  20.   }
  21.